#pragma once
#include "afxwin.h"


// CResizeDlg dialog

class CResizeDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CResizeDlg)

public:
	CResizeDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CResizeDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_RESIZE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedRadioPercentage();
	afx_msg void OnBnClickedRadioPixel();
	afx_msg void OnEnChangeEditH();
	afx_msg void OnEnChangeEditV();
	afx_msg void OnBnClickedCheckScale();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnEnSetfocusEditH();
	afx_msg void OnEnSetfocusEditV();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	DECLARE_MESSAGE_MAP()
public:
	int m_imgW;
	int m_imgH;
	int m_focus;
};
